[Manager Summary]
Displays a dialog box requesting the user to specify settings for a print job.
OSStatus PMPrintDialog(PMPrintSettings printSettings, PMPageFormat constPageFormat, Boolean *accepted)
PARAMETERS
printSettings
- A PMPrintSettings object previously created by your application for the current printing session. The PMPrintDialog function initially displays in a dialog box the printing settings stored in this object. If the user selects different settings and confirms the dialog box, PMPrintDialog updates this object with the user's new settings.
constPageFormat
- A PMPageFormat object previously created by your application for this printing session. The PMPrintDialog function initially displays in a dialog box the page format settings stored in this object, which remains unaltered by this function.
accepted
- A pointer to a Boolean value of TRUE if the user confirms the dialog box, FALSE if the user clicks the Cancel button.
- function result
- A result code. See Result Codes.
DISCUSSION
Your application should call this function when the user chooses Print from the File menu.
CARBON PORTING NOTES
The PMPrintDialog function replaces the Printing Manager function PrJobDialog.
Last modified: 5/7/99. Status: Draft Copyright 1999 Apple Computer, Inc. All rights reserved.